<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('AccessKeyId')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-accessKeyId" class="form-control" name="row[accessKeyId]" type="text" value="{$row.accessKeyId|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('AccessKeySecret')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-accessKeySecret" class="form-control" name="row[accessKeySecret]" type="text" value="{$row.accessKeySecret|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bucket')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bucket" class="form-control" name="row[bucket]" type="text" value="{$row.bucket|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Endpoint')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-endpoint" class="form-control" name="row[endpoint]" type="text" value="{$row.endpoint|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cdnurl')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cdnurl" class="form-control" name="row[cdnurl]" type="text" value="{$row.cdnurl|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Uploadmode')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-uploadmode" class="form-control selectpicker" name="row[uploadmode]">
                {foreach name="uploadmodeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.uploadmode"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Serverbackupdata')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="serverbackupdataList" item="vo"}
            <label for="row[serverbackupdata]-{$key}"><input id="row[serverbackupdata]-{$key}" name="row[serverbackupdata]" type="radio" value="{$key}" {in name="key" value="$row.serverbackupdata"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Savekey')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-savekey" class="form-control" name="row[savekey]" type="text" value="{$row.savekey|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Expire')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-expire" class="form-control" name="row[expire]" type="text" value="{$row.expire|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Maxsize')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-maxsize" class="form-control" name="row[maxsize]" type="text" value="{$row.maxsize|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mimetype')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mimetype" class="form-control" name="row[mimetype]" type="text" value="{$row.mimetype|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Multipledata')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="multipledataList" item="vo"}
            <label for="row[multipledata]-{$key}"><input id="row[multipledata]-{$key}" name="row[multipledata]" type="radio" value="{$key}" {in name="key" value="$row.multipledata"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Thumbstyle')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-thumbstyle" class="form-control" name="row[thumbstyle]" type="text" value="{$row.thumbstyle|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Chunkingdata')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="chunkingdataList" item="vo"}
            <label for="row[chunkingdata]-{$key}"><input id="row[chunkingdata]-{$key}" name="row[chunkingdata]" type="radio" value="{$key}" {in name="key" value="$row.chunkingdata"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Chunksize')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-chunksize" class="form-control" name="row[chunksize]" type="number" value="{$row.chunksize|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Syncdeletedata')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="syncdeletedataList" item="vo"}
            <label for="row[syncdeletedata]-{$key}"><input id="row[syncdeletedata]-{$key}" name="row[syncdeletedata]" type="radio" value="{$key}" {in name="key" value="$row.syncdeletedata"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Apiuploaddata')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="apiuploaddataList" item="vo"}
            <label for="row[apiuploaddata]-{$key}"><input id="row[apiuploaddata]-{$key}" name="row[apiuploaddata]" type="radio" value="{$key}" {in name="key" value="$row.apiuploaddata"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Noneedlogindata')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="checkbox">
            {foreach name="noneedlogindataList" item="vo"}
            <label for="row[noneedlogindata][]-{$key}"><input id="row[noneedlogindata][]-{$key}" name="row[noneedlogindata][]" type="checkbox" value="{$key}" {in name="key" value="$row.noneedlogindata"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
